home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
G
/
GEnie HyperLibrary.cpt
/
GEnie HyperLibrary
/
background_2143.txt
< prev
next >
Wrap
Text File
|
1988-03-14
|
7KB
|
320 lines
-- background: 2143 from stack: in
-- bmap block id: 68399
-- flags: 0000
-- background id: 0
-- name: Library
----- HyperTalk script -----
on openCard
put the number of this card into field "card#"
end openCard
-- part 24 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=27 top=191 right=214 bottom=50
-- title width / last selected line: 0
-- icon id / first selected line: 1014 / 1014
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual dissolve
go prev
end mouseUp
-- part 25 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=125 top=191 right=214 bottom=148
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual dissolve
go next
end mouseUp
-- part 26 (button)
-- low flags: 80
-- high flags: 8002
-- rect: left=427 top=327 right=342 bottom=490
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Filter
----- HyperTalk script -----
on mouseUp
repeat for the number of cards
put word 1 of field 1 into field "number"
delete word 1 of field 1
put last word of field 1 into field "library"
delete last word of field 1
put last word of field 1 into field "access"
delete last word of field 1
put last word of field 1 into field "bytes"
delete last word of field 1
put last word of field 1 into field "date"
delete last word of field 1
put last word of field 1 into field "address"
delete last word of field 1
put last word of field 1 into field "type"
delete last word of field 1
put field 1 into field "fileName"
go next
end repeat
end mouseUp
-- part 38 (field)
-- low flags: 01
-- high flags: 4002
-- rect: left=130 top=214 right=261 bottom=148
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: chex
----- HyperTalk script -----
on mouseUp
put item 2 of the clickLoc into cLoc
put item 2 of rect of me into rec
put textheight of me into texhi
put 1 + (cLoc - rec) div texhi into cLine
if line cLine of field "chex" is empty then put "‚àö" into line cline of field "chex"
else put empty into line cline of field "chex"
end mouseUp
-- part 40 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=27 top=214 right=229 bottom=131
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Gotta Get It!!
----- HyperTalk script -----
on mouseUp
if line 1 of field "chex" is empty
then put "‚àö" into line 1 of field "chex"
else put empty into line 1 of field "chex"
end mouseUp
-- part 41 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=27 top=228 right=245 bottom=131
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Already Have
----- HyperTalk script -----
on mouseUp
if line 2 of field "chex" is empty
then put "‚àö" into line 2 of field "chex"
else put empty into line 2 of field "chex"
end mouseUp
-- part 42 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=27 top=244 right=261 bottom=131
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Maybe I Want
----- HyperTalk script -----
on mouseUp
if line 3 of field "chex" is empty
then put "‚àö" into line 3 of field "chex"
else put empty into line 3 of field "chex"
end mouseUp
-- part 43 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=88 top=29 right=175 bottom=342
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: info
-- part 45 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=52 top=191 right=213 bottom=123
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Report
----- HyperTalk script -----
on mouseUp
push card
visual dissolve
go to card id 4795
end mouseUp
-- part 46 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=4 top=29 right=175 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: fieldNames
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
put item 2 of the clickLoc into cLoc
put item 2 of rect of me into rec
put textheight of me into texhi
put 1 + (cLoc - rec) div texhi into cLine
answer "In which direction would you like to sort?" with "Ascending" or "Descending" or "Cancel"
if it is "Cancel" then exit mouseUp
if it is "Descending" then sort descending numeric by line cLine of field "Info"
else sort numeric by line cline of field "info'
else exit mouseUp
end mouseUp
-- part 47 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=72 top=264 right=282 bottom=104
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: card#
-- part 48 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=29 top=290 right=325 bottom=65
-- title width / last selected line: 0
-- icon id / first selected line: 1020 / 1020
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
push card
visual dissolve
go card "help"
wait 3 seconds
show card field "help"
end mouseUp
-- part 50 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=72 top=290 right=325 bottom=108
-- title width / last selected line: 0
-- icon id / first selected line: 12478 / 12478
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
push card
visual dissolve
go card "help"
wait for 3 seconds
show card field "/\/\/"
end mouseUp
-- part 51 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=286 top=178 right=339 bottom=510
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
push card
visual dissolve
go card "help"
wait for 3 seconds
show card field "/\/\/"
end mouseUp